package com.njcky.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.njcky.utils.citylife.BigDecimalSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class SectionLine implements Serializable {

    private static final long serialVersionUID = 1816619965974150670L;
    /**
     * 对象 ID
     */
    @ApiModelProperty(value = "id")
    private Integer objectid;
    /**
     * 点 ID
     */
    @ApiModelProperty(value = "关联管点id")
    private Integer pointid;
    /**
     * 类型名称
     */
    @ApiModelProperty(value = "关联点表名")
    private String typeName;

    /**
     * PCDYBH公司
     */
    @ApiModelProperty(value = "普查单元编号")
    private String pcdybh;

    /**
     * DLMC系列
     */
    @ApiModelProperty(value = "道路名称")
    private String dlmc;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    private String bh;
    /**
     * 要素代码
     */
    @ApiModelProperty(value = "要素代码")
    private String ysdm;

    /**
     * 梯度
     */
    @ApiModelProperty(value = "坡度")
    @JsonSerialize(nullsUsing = NullSerializer.class, using = BigDecimalSerializer.class)
    private BigDecimal gradient;
    /**
     * realgdcd
     */
    @ApiModelProperty(value = "管道实际长度")
    @JsonSerialize(nullsUsing = NullSerializer.class, using = BigDecimalSerializer.class)
    private BigDecimal realgdcd;

    /**
     * 水平GDCDD
     */
    @ApiModelProperty(value = "管道水平长度")
    @JsonSerialize(nullsUsing = NullSerializer.class, using = BigDecimalSerializer.class)
    private BigDecimal horizontalgdcd;

    /**
     * 起点高程
     */
    @ApiModelProperty(value = "管线起点管道高程")
    @JsonSerialize(nullsUsing = NullSerializer.class, using = BigDecimalSerializer.class)
    private BigDecimal qdgc;

    /**
     * 终点高程
     */
    @ApiModelProperty(value = "管线终点管道高程")
    @JsonSerialize(nullsUsing = NullSerializer.class, using = BigDecimalSerializer.class)
    private BigDecimal zdgc;

    /**
     * gxqdfthd
     */
    @ApiModelProperty(value = "管线起点覆土厚度")
    @JsonSerialize(nullsUsing = NullSerializer.class, using = BigDecimalSerializer.class)
    private BigDecimal gxqdfthd;

    /**
     * gxzdfthd
     */
    @ApiModelProperty(value = "管线终点覆土厚度")
    @JsonSerialize(nullsUsing = NullSerializer.class, using = BigDecimalSerializer.class)
    private BigDecimal gxzdfthd;

    /**
     * 起点X
     */
    @ApiModelProperty(value = "起点x")
    private BigDecimal startPointX;
    /**
     * Start Pointy
     */
    @ApiModelProperty(value = "起点y")
    private BigDecimal startPointY;
    /**
     * 终点X
     */
    @ApiModelProperty(value = "终点x")
    private BigDecimal endPointX;
    /**
     * 端尖
     */
    @ApiModelProperty(value = "终点y")
    private BigDecimal endPointY;
    /**
     * 坐标
     */
    @ApiModelProperty(value = "坐标")
    private String coordinate;
    /**
     * 点
     */
    @ApiModelProperty(value = "中心点")
    private String point;
    /**
     * 空间数据BUF
     */
    @ApiModelProperty(value = "几何buf字段")
    private String shapeBuf;
    /**
     * 管径
     */
    private String gj;
    /**
     * 材质
     */
    private String cz;
    /**
     * 坐标
     */
    @ApiModelProperty(value = "坐标系")
    private String coor;

    private Double qdms;

    private Double zdms;

    private String szdl;

}
